home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / cfuncs.zip / WEDIT.DOC < prev    next >
Text File  |  1991-02-27  |  996b  |  20 lines

  1. /*----------------------------------------------------------------*/
  2. /*---------------------------wedit--------------------------------*/
  3. /*            WINDOW EDIT                  */
  4. /*                                  */
  5. /*DESCRIPTION: Creates a window for data entry with an option to  */
  6. /*    check each line with CheckNum.  Writes the data to a file */
  7. /*                                  */
  8. /*INPUT:                                                          */
  9. /*    filename - name for output file                             */
  10. /*    width    - width of the window                              */
  11. /*    length   - length of the window                             */
  12. /*    fcheck  - a function that performs a check on the          */
  13. /*          entries.  Returns 1 for a pass, 0 for fail.      */
  14. /*          Passing NULL means no check will be performed.  */
  15. /*USES: Frame, strspc, OnCursor, OffCursor              */
  16. /*----------------------------------------------------------------*/
  17.  
  18. wedit( char *filename, int width, int length,
  19.     int (*fcheck) (const char *))
  20.